home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / bindings / vi-fun / notes < prev    next >
Encoding:
Text File  |  1996-09-27  |  1.9 KB  |  56 lines

  1. ;This is the binding which gives origami a vi look and feel
  2. ;This is not vi, it cannot be vi due to the fact that folding is possible,
  3. ;and to a completely different handling of options which
  4. ;vi would set with :set
  5.  
  6. ;If you want folding for vi, this is not it
  7. ;If you want a folding editor which feels like vi during *normal*
  8. ;use, then this is for you
  9.  
  10. ;v is the prefix for all fold manipulations except fold creation
  11.  
  12. ;The basics are
  13.  
  14. ;vo open
  15. ;ve enter
  16. ;vc close
  17. ;vA attach file to fold
  18.  
  19. ;help is H in command mode and motion mode
  20. ;insert mode does not need any help!
  21.  
  22. ;Until I get round to documenting this, the file vi-fun/modes will have to do....
  23. ;(sorry)
  24.  
  25. ;some of the features are not yet implemented (marked with *)
  26. {{{  ;There are bugs:-
  27. ;There are bugs:-
  28.  
  29. ; the binding is not complete
  30. ;  -  undo does not yet work reasonably
  31. ;  -  undo will never work exactly as in vi and still be efficient
  32. ;  -  syntax for delete and yank are not as vi - they have been modified to suit the
  33. ;     folding style of the editor / simplify my finite state machine.
  34. ;     dd works as expected
  35. ;     'dw' does not delete anything, but puts you into a motion mode which you then
  36. ;     end with 'd' so Delete Word is `dwd`. This can be extended across lines.
  37. ;     djjjjd deletes 4 complete lines
  38. ;     dwwwd  deletes 3 words.
  39. ;     d3wd should also delete 3 words
  40. ;     D<motion>D deletes exactly the characters, and not the lines, as one sometimes
  41. ;     needs this
  42.  
  43. ;     yy YY work similarly
  44. ;     >> and << only work on lines :->
  45. ;     V<motion>V folds part of the text
  46. }}}
  47. {{{  ;There are features:-
  48. ;There are features:-
  49.  
  50. ; - (in production) Novice and advanced modes
  51. ; * A user in novice mode can use cursor keys in insert mode, which is the default at
  52. ;   startup. Command mode is reached with $esc $esc
  53. ;   A user in advanced mode cannot, but only needs to press escape once to leave
  54. ;   insert mode.
  55. }}}
  56.